/*
 * InitVideoException.hpp
 *
 *  Created on: 15-01-2011
 *      Author: Przemek
 */

#pragma once

#include <stdexcept>
#include <string>

/*
 * Class for every exception which occurs during initialization.
 */
class InitVideoException: public std::runtime_error
{
	public:
		InitVideoException(const std::string& additionalInfo);
};

inline InitVideoException::InitVideoException(const std::string& additionalInfo) :
	std::runtime_error("Init video failed: " + additionalInfo)
{
}
